module TicketTemplatesHelper
    def add_note_type_link(name)
    link_to_function name do |page|
      page.insert_html :bottom, :note_types, :partial => 'note_type', :object => NoteType.new
      page.insert_html :bottom, :note_types, :partial => 'jssort'
    end
  end
end
